package com.tedu.project_jt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//mybatis框架会为mapper包下的接口创建代理类
//$Proxy0 implements UserMapper
//为$Proxy0创建一个对象，叫代理对象,
//代理对象放在spring 的ioc容器中
//controller @autowired取到代理对象
@MapperScan("com.tedu.project_jt")
public class DbDemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(DbDemoApplication.class, args);
	}

}
